package com.qiujie.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 餐次类型枚举
 */
@Getter
@AllArgsConstructor
public enum MealTypeEnum {
    BREAKFAST(1, "早餐"),
    LUNCH(2, "午餐"),
    DINNER(3, "晚餐");

    @EnumValue
    private final Integer code;
    
    @JsonValue
    private final String desc;
} 